package soccer.model.player;

import java.util.List;

import soccer.model.goals.Goal;
import soccer.model.person.Person;

public class Player extends Person {
private int    formaNumber;
private String position; 
private int    licenceNo;
private String   beginLicence;
private String   finishLicence; 
private boolean condition;
private List<Goal> goals;

public Player (String name , String surname){
	super(name , surname,null,null);
}
public Player(String name , String surname , String birthPlace , String birthString,int licenceNo){
	super(name,surname,birthPlace,birthString);
	this.licenceNo = licenceNo;
}

public Player(String name , String surname , String birthPlace , String birthString ,
	  int licenceNo, String beginLicence, String finishLicence) {
	super(name,surname,birthPlace,birthString);
	this.licenceNo = licenceNo;
	this.beginLicence = beginLicence;
	this.finishLicence = finishLicence;
	
}

public int getFormaNumber() {
	return formaNumber;
}
public void setFormaNumber(int formaNumber) {
	this.formaNumber = formaNumber;
}
public String getPosition() {
	return position;
}
public void setPosition(String position) {
	this.position = position;
}
public int getLicenceNo() {
	return licenceNo;
}
public void setLicenceNo(int licenceNo) {
	this.licenceNo = licenceNo;
}
public String getBeginLicence() {
	return beginLicence;
}
public void setBeginLicence(String beginLicence) {
	this.beginLicence = beginLicence;
}
public String getFinishLicence() {
	return finishLicence;
}
public void setFinishLicence(String finishLicence) {
	this.finishLicence = finishLicence;
}
public boolean isCondition() {
	return condition;
}
public void setCondition(boolean condition) {
	this.condition = condition;
}

public void setGoals(List<Goal> goals) {
	this.goals = goals;
}

public List<Goal> getGoals() {
	return goals;
}

}
